<?php
	include('user.php');
	include('config.php');
	new Config();
	$user = new User();
	$user->setALL(NULL,$_GET['userId'],$_GET['username'],$_GET['password'],$_GET['name'],$_GET['year']);
	echo $user->register();
?>